Release 10.1A: OpenEdge Development:
Web Services
SubAppObject class factory methods
As with other Open Clients, there is no Progress 4GL involved in implementing the class factory method on a SubAppObject. However, for Web services, the operation is an object method is required by the WSA.
This is a VB.NET declaration for the SubAppObject class factory method,
CreateAO_Payroll( ):
The following lines of code:
- Call the
CreateAO_Payroll( )method on the AppObject,webService, to create the SubAppObject, Payroll, on the WSA.- Instantiate the SubAppObject on the client, enabling access to its methods.
- Copy the SubAppObject ID from the AppObject (
webService) to the SubAppObject.- Invoke the
IncreaseSalary( )method on thePayrollSubAppObject.Note: The SOAP request/response messages for creating SubAppObjects are very similar to those for creating ProcObjects. For more information, see the "Creating and using a ProcObject" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |